<?xml version="1.0" encoding="utf-8"?>
<Toolkit version="2.0" xmlns:zj="http://www.zju.edu.cn" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../DTD2/Module.xsd">
  <zj:Module>
    <zj:Title>密码</zj:Title>
    <zj:DataSet>Single2</zj:DataSet>
    <zj:DisablePage>Insert|List|Delete|Detail</zj:DisablePage>
    <zj:FunctionRight FunctionKey="Users" FuncType="Admin"/>
    <zj:Resolvers>
      <zj:Resolver Style="Normal" List="true">
        <zj:RegName>UserPasswd</zj:RegName>
        <zj:Xml>../../Data/Users/Users.xml</zj:Xml>
        <zj:UpdateAction>
          <Add>
            <AddField DataType="string" DisplayName="确认新密码" Kind="Virtual" FieldName="USER_CONFIRM_PASSWD" HtmlCtrl="Password" Order="60" Length="50" IsEmpty="true">
              <Display ThreeColumn="one"/>
            </AddField>
          </Add>
          <Override>
            <Field FieldName="USER_LOGIN_NAME" HtmlCtrl="DetailHidden">
              <Display ThreeColumn="one"/>
            </Field>
            <Field FieldName="USER_LOGIN_PASSWD" DisplayName="新密码" HtmlCtrl="Password">
              <Display ThreeColumn="one"/>
            </Field>
          </Override>
          <Except>
            <DelField FieldName="USER_NAME"/>
            <DelField FieldName="USER_ORG_ID"/>
            <DelField FieldName="USER_PHONE"/>
            <DelField FieldName="USER_MOBILE"/>
            <DelField FieldName="USER_EMAIL"/>
            <DelField FieldName="USER_WORK_NO"/>
            <DelField FieldName="USER_SEX"/>
            <DelField FieldName="USER_TITLE"/>
            <DelField FieldName="USER_BIRTHDAY"/>
            <DelField FieldName="USER_WORKED"/>
            <DelField FieldName="USER_EDUCATION"/>
            <DelField FieldName="USER_ORIGIN"/>
            <DelField FieldName="USER_WORK_LIMIT"/>
            <DelField FieldName="USER_IDENT_NO"/>
            <DelField FieldName="USER_IN_DATE"/>
            <DelField FieldName="USER_AREA"/>
            <DelField FieldName="USER_ADDRESS"/>
            <DelField FieldName="USER_POSTAL"/>
            <DelField FieldName="USER_ACTIVE"/>
            <DelField FieldName="USER_OUT"/>
            <DelField FieldName="USER_OUT_DATE"/>
            <DelField FieldName="USER_NOTE"/>
            <DelField FieldName="USER_ADMIN"/>
          </Except>
        </zj:UpdateAction>
      </zj:Resolver>
    </zj:Resolvers>
    <zj:XsltFiles>
      <zj:XsltFile Type="Update">Users/UserChgPasswd.xslt</zj:XsltFile>
    </zj:XsltFiles>
    <zj:DefaultPage>
      <zj:DefaultItem Source="Update" Dest="Custom" IsPost="false" NeedParse="true">../Pages/WebDetailXmlPage.zjx?Source=Users/Users&amp;ID={UR_USERS.USER_ID}</zj:DefaultItem>
      <zj:DefaultItem Source="Update" Dest="Custom" IsPost="true" NeedParse="true">../Pages/WebDetailXmlPage.zjx?Source=Users/Users&amp;ID={UR_USERS.USER_ID}</zj:DefaultItem>
    </zj:DefaultPage>
  </zj:Module>
</Toolkit>
